package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.banner.model.AddBannerModel;
import com.ls.controller.banner.model.EditBannerModel;
import com.ls.controller.benefit.model.AddBenefitModel;
import com.ls.controller.benefit.model.EditBenefitModel;
import com.ls.controller.benefit.model.SortBenefitModel;
import com.ls.entity.Benefit;
import com.ls.utils.ResultData;

/**
 * <p>
 * 权益 服务类
 * </p>
 *
 * @author lanchi
 * @since 2024-10-12
 */
public interface IBenefitService extends IService<Benefit> {
    /**权益列表*/
    ResultData getPaging();
    /** 新增权益 */
    ResultData add(AddBenefitModel model);
    /** 编辑权益 */
    ResultData edit(EditBenefitModel model);
    /** 权益排序 */
    ResultData sort(SortBenefitModel model);
    /** 删除权益 */
    ResultData del(Integer benefitId);
}
